package tech.seedhk.util;

/**
 * @Author 123
 * @Description
 * @Date 2019/7/5 17:19
 * @Version 1.0
 */
public class BitNodeRet {

    private char c;        //当前的字符
    private BitTree next;  //下一个节点
    private int depth;      //当前字符所在的深度

    public char getC() {
        return c;
    }

    public void setC(char c) {
        this.c = c;
    }

    public BitTree getNext() {
        return next;
    }

    public void setNext(BitTree next) {
        this.next = next;
    }

    public BitNodeRet() {
    }

    public BitNodeRet(char c, BitTree next, int depth) {
        this.c = c;
        this.next = next;
        this.depth=depth;
    }

    @Override
    public String toString() {
        return "BitNodeRet{" +
                "c=" + c +
                ", next=" + next +
                ", depth=" + depth +
                '}';
    }
}
